package com.example.questionnaire.mapper;

import com.example.questionnaire.entity.Admin;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author autoGenerate
 * @since 2022-10-30
 */
@Repository
public interface AdminMapper extends BaseMapper<Admin> {

    @Select("select * from admin")
    List<Admin> findAll();

}
